package com.hsfw.pmbasicdata;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@EnableEurekaClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, SecurityAutoConfiguration.class,
        ManagementWebSecurityAutoConfiguration.class},
        scanBasePackages = {"com.hsfw.pmbasicdata", "com.hsfw.dbmodule"})
@MapperScan({"com.hsfw.dbmodule.dao", "com.hsfw.dbmodule.cypher"})
public class PmBasicDataApplication {

    public static void main(String[] args) {
        SpringApplication.run(PmBasicDataApplication.class, args);
    }

}
